package com.javasm.mb_store_api_final.config.adminLogin.adminuser.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * (RgAdminUser)表实体类
 *
 * @author makejava
 * @since 2024-07-28 19:38:29
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RgAdminUser extends Model<RgAdminUser> {


    @TableId(type = IdType.AUTO)
    private Integer uid;

    private String username;

    private String password;

    private Date regtime;
    //0正常1删除
    @TableLogic(value = "0" ,delval = "1")
    private Integer status;

    private String phone;
    //角色id
    private Integer rid;



}

